package com.probiz.estore.common.model.product;

import java.util.List;

import com.probiz.estore.common.model.attribute.AttributeValue;

public class ProductDataModel {
	private Product product;
	
	private String fullDescription;
	
	private String shortDescription;
	
	private Integer mainCategoryId;
	
	private Integer []categoryIds;
	
	private String productMediaIds[];
	
	private String mediaUrls[];
	
	private String productMediaTypes[];
	
	private String mediaDescription[];
	
	private String productMedia_deleteds[];
	
	private ProductSku defaultProductSku;
	
	private String wholesalePrices[];
	
	private Integer[]productPackageItemIds;
	                                   
	private Integer[]productPackageQuantity;
	
	private boolean onlySaveProductInfo;

	/**
	 * 用于保存更新自定义属性
	 */
	private List<AttributeValue> attributeValues;
	
	public boolean isOnlySaveProductInfo() {
		return onlySaveProductInfo;
	}

	public void setOnlySaveProductInfo(boolean onlySaveProductInfo) {
		this.onlySaveProductInfo = onlySaveProductInfo;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public String getFullDescription() {
		return fullDescription;
	}

	public void setFullDescription(String fullDescription) {
		this.fullDescription = fullDescription;
	}

	public String getShortDescription() {
		return shortDescription;
	}

	public void setShortDescription(String shortDescription) {
		this.shortDescription = shortDescription;
	}

	public Integer getMainCategoryId() {
		return mainCategoryId;
	}

	public void setMainCategoryId(Integer mainCategoryId) {
		this.mainCategoryId = mainCategoryId;
	}

	public Integer[] getCategoryIds() {
		return categoryIds;
	}

	public void setCategoryIds(Integer[] categoryIds) {
		this.categoryIds = categoryIds;
	}

	public String[] getProductMediaIds() {
		return productMediaIds;
	}

	public void setProductMediaIds(String[] productMediaIds) {
		this.productMediaIds = productMediaIds;
	}

	public String[] getMediaUrls() {
		return mediaUrls;
	}

	public void setMediaUrls(String[] mediaUrls) {
		this.mediaUrls = mediaUrls;
	}

	public String[] getProductMediaTypes() {
		return productMediaTypes;
	}

	public void setProductMediaTypes(String[] productMediaTypes) {
		this.productMediaTypes = productMediaTypes;
	}

	public String[] getMediaDescription() {
		return mediaDescription;
	}

	public void setMediaDescription(String[] mediaDescription) {
		this.mediaDescription = mediaDescription;
	}

	public ProductSku getDefaultProductSku() {
		return defaultProductSku;
	}

	public void setDefaultProductSku(ProductSku defaultProductSku) {
		this.defaultProductSku = defaultProductSku;
	}

	public String[] getWholesalePrices() {
		return wholesalePrices;
	}

	public void setWholesalePrices(String[] wholesalePrices) {
		this.wholesalePrices = wholesalePrices;
	}

	public Integer[] getProductPackageItemIds() {
		return productPackageItemIds;
	}

	public void setProductPackageItemIds(Integer[] productPackageItemIds) {
		this.productPackageItemIds = productPackageItemIds;
	}

	public Integer[] getProductPackageQuantity() {
		return productPackageQuantity;
	}

	public void setProductPackageQuantity(Integer[] productPackageQuantity) {
		this.productPackageQuantity = productPackageQuantity;
	}

	public void setAttributeValues(List<AttributeValue> attributeValues) {
		this.attributeValues = attributeValues;
	}

	public List<AttributeValue> getAttributeValues() {
		return attributeValues;
	}

	public String[] getProductMedia_deleteds() {
		return productMedia_deleteds;
	}

	public void setProductMedia_deleteds(String[] productMedia_deleteds) {
		this.productMedia_deleteds = productMedia_deleteds;
	}
	
}
